﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="NewsIndexMa.ascx.cs" Inherits="Control_News_NewsIndexMa" %>
<marquee class="news-lastest" direction="down" behavior="scroll" scrollamount="1"
    scrolldelay="1">
    <asp:Repeater ID="repMa" runat="server">
        <ItemTemplate>
             <p>    
              <a href='Control/News/Detail.aspx?NewsId=<%#Eval("Id") %>'><img src='<%# !string.IsNullOrEmpty(Eval("Photo").ToString()) ? Eval("Photo").ToString() : "img/img-07.png" %>' class="thumb-01" /></a>
              <a href='Control/News/Detail.aspx?NewsId=<%#Eval("Id") %>'><%#Eval("Title") %></a> 
              <br/> - - - - 
             </p>
        </ItemTemplate>
   </asp:Repeater>
</marquee>
